#!/bin/sh

prefix=/usr/local

if [ "$2" = "POST-INSTALL" ]; then
	${prefix}/bin/mktexlsr
	echo "Installation done."
	echo "Refresh the map files and default hyphenations by running:"
	echo "updmap-sys and fmtutil-sys"
	echo "--> ${prefix}/bin/updmap-sys; ${prefix}/bin/fmtutil-sys --byfmt latex; ${prefix}/bin/fmtutil-sys --byfmt pdflatex"
fi;
